<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    body{
        margin: 0;
        padding: 0;
        background-image: url(../images/1.webp);

    }
    .box{
        position: relative;
        width: 200px;
        height: 100px;
        background-color: skyblue;
        /* transform: rotate(45deg) translateX(100px); */
        transform: perspective(200px) rotateY(60deg);

    }
    .item{
        position: absolute;
        top: 0;
        left: 0;
        background-color: pink;
        width: 100%;
        height: 100%;
        /* 形变 */
        /* transform: rotateY(60deg); */
    }
</style>
<body>
    <div class="box">div
        <!-- <div class="item">10</div> -->
    </div>
</body>
</html>